/*2CPP7DRL2crQlo/RWcdsTaDPACT8VkDYb1m+OizGM3GFvjErmuAS++hQAd5qgbA/*/
/*
 * @Author: xiahui 
 * @PageInfo: 取消生效 
 * @Date: 2019-01-18 14:44:21 
 * @Last Modified by: xiahui
 * @Last Modified time: 2019-07-10 15:51:40
 */
import { showCardScriptActionDlg } from '../../utils/baseScriptUtil';
import { showWarningDialog } from '../../../../../scmpub/scmpub/pub/tool/messageUtil';
import { URL } from '../../constance';
import { getLangByResId } from '../../../../../scmpub/scmpub/pub/tool/multiLangUtil';

export default function(props) {
	showWarningDialog(getLangByResId(this, '4004PURDAILY-000038'), getLangByResId(this, '4004PURDAILY-000039'), {
		/* 国际化处理： 取消生效,是否确定将此合同取消生效*/
		beSureBtnClick: () => {
			showCardScriptActionDlg.call(
				this,
				props,
				URL.unValidate,
				getLangByResId(this, '4004PURDAILY-000040'),
				getLangByResId(this, '4004PURDAILY-000041')
			); /* 国际化处理： 取消生效成功,请输入取消合同生效的原因*/
		}
	});
}

/*2CPP7DRL2crQlo/RWcdsTaDPACT8VkDYb1m+OizGM3GFvjErmuAS++hQAd5qgbA/*/